<div class="wrapper-sm">
    <toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
    <div class="panel panel-default b-b ">
        <div class="panel-heading">工作项-程序发布</div>
        <div class="panel-body b-b b-light">
            <div class="query">查询条件</div>
            <div class=" textboxes">
                <div class="form-inline group-margin">
                    <div class="form-group">
                        <label>分区:</label> <select kendo-drop-down-list="droplist"
                                                   k-options="typeOptions"
                                                   k-data-text-field="'part'"
                                                   k-data-value-field="'part'"
                                                   ng-model="param.part"
                                                   class="myinput"></select>
                    </div>
                    <div class="form-group">
                        <label>标题:</label> <input kendo-auto-complete ng-trim="true"
                                                  ng-model="param.title" class="myinput"/>
                    </div>
                    <div class="form-group">
                        <label>类型:</label> <select kendo-drop-down-list
                                                   ng-model="param.type" class="myinput">
                        <option value="">全部</option>
                        <option value=1>批作业上线</option>
                        <option value=2>DLL上线</option>
                        <option value=3>函数上线</option>
                        <option value=4>头文件(3.0)上线</option>
                        <option value=5>O文件上线</option>
                        <option value=6>Server上线</option>
                        <option value=7>Server重启</option>
                        <option value=8>前台特殊文件上线</option>
                        <option value=9>前台特殊文件删除</option>
                        <option value=10>表结构上线</option>
                    </select>
                    </div>
                    <div class="form-group">
                        <label>模块:</label> <input kendo-auto-complete ng-trim="true"
                                                  ng-model="param.module" class="myinput"/>
                    </div>
                    <div class="form-group">
                        <label>状态:</label> <select kendo-drop-down-list
                                                   ng-model="param.state" class="myinput">
                        <option value="">全部</option>
                        <option value=0>待上线</option>
                        <option value=1>已上线</option>
                        <option value=-1>上线失败</option>
                    </select>
                    </div>
                    <div class="form-group">
                        <label>归档:</label> <select kendo-drop-down-list
                                                   ng-model="param.archive" class="myinput">
                        <option value=false>未归档</option>
                        <option value=true>已归档</option>
                    </select>
                    </div>
                </div>
                <div class="form-inline group-margin">
                    <div class="form-group">
                        <label>提交时间:</label> <input kendo-date-time-picker
                                                    k-ng-model="param.submitDate" k-format="'yyyy-MM-dd HH:mm:ss'"/>
                    </div>
                    <div class="form-group">
                        <label>至:</label> <input kendo-date-time-picker
                                                 k-ng-model="param.submitDateEnd" k-format="'yyyy-MM-dd HH:mm:ss'"/>
                    </div>
                    <div class="form-group" style="float:right">
                        <label>
                            <kendo-button class="k-primary" ng-click="query()">查询</kendo-button>
                        </label>
                        <kendo-button class="k-primary" ng-click="clear()">清空</kendo-button>
                    </div>
                </div>
            </div>

            <div class="table-responsive" style="margin-top:20px">
                <div class="result">结果集</div>
                <div kendo-grid="publishCodeGrid" k-options="publishCodeGridOptions"
                     k-on-change="publishCodeGridRowClick(data, dataItem, columns)"
                     k-on-edit="publishCodeGridRowEdit(kendoEvent)">
                    <div k-detail-template>
                        <div class=" textboxes">
                            <div class="form-inline group-margin">
                                <div class="form-group">
                                    <label>模块信息&nbsp;&nbsp;</label>
                                </div>
                            </div>
                            <div class="form-inline group-margin">
                                <div class="form-group">
                                    <label>标题：</label> <input class="detials" kendo-masked-text-box type="text"
                                                              ng-model="dataItem.title"/>
                                </div>
                                <div class="form-group">
                                    <label>描述：</label> <input class="detials" kendo-masked-text-box type="text"
                                                              ng-model="dataItem.description"/>
                                </div>
                                <div class="form-group">
                                    <label>模块：</label> <input class="detials" kendo-masked-text-box type="text"
                                                              ng-model="dataItem.module"/>
                                </div>
                                <div class="form-group">
                                    <label>类型：</label>
                                    <select class="detials" kendo-drop-down-list
                                            ng-model="dataItem.type">
                                        <option value=1>批作业上线</option>
                                        <option value=2>DLL上线</option>
                                        <option value=3>函数上线</option>
                                        <option value=4>头文件(3.0)上线</option>
                                        <option value=5>O文件上线</option>
                                        <option value=6>Server上线</option>
                                        <option value=7>Server重启</option>
                                        <option value=8>前台特殊文件上线</option>
                                        <option value=9>前台特殊文件删除</option>
                                        <option value=10>表结构上线</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label>分区：</label> <input class="detials" kendo-masked-text-box type="text"
                                                              ng-model="dataItem.part"/>
                                </div>
                                <div class="form-group">
                                    <label>位置：</label> <input class="detials" kendo-masked-text-box type="text"
                                                              ng-model="dataItem.location"/>
                                </div>
                            </div>
                            <br>
                            <div class="form-inline group-margin">
                                <div class="form-group">
                                    <label>提交人信息</label>
                                </div>
                            </div>
                            <div class="form-inline group-margin">
                                <div class="form-group">
                                    <label>提交人：</label> <input class="detials" kendo-masked-text-box type="text"
                                                               ng-model="dataItem.createUser"/>
                                </div>
                                <div class="form-group">
                                    <label>提交时间：</label> <input class="detials" kendo-masked-text-box
                                                                type="datetime-local"
                                                                ng-model="dataItem.submitDate" style="width: auto"
                                />
                                </div>
                                <div class="form-group">
                                    <label>芯片信息：</label> <input class="detials" kendo-masked-text-box type="text"
                                                                ng-model="dataItem.chipInfo"/>
                                </div>
                                <div class="form-group">
                                    <label>mac地址：</label> <input class="detials" kendo-masked-text-box type="text"
                                                                 ng-model="dataItem.macAddress"/>
                                </div>
                            </div>
                            <br>

                            <br>
                            <div class="form-inline group-margin">
                                <div class="form-group">
                                    <label>状态&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
                                </div>
                            </div>
                            <div class="form-inline group-margin">
                                <div class="form-group">
                                    <label>状态：</label>
                                    <select class="detials" kendo-drop-down-list
                                            ng-model="dataItem.state">
                                        <option value=0>待上线</option>
                                        <option value=1>已上线</option>
                                        <option value=-1>上线失败</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label>优先级：</label> <input class="detials" kendo-masked-text-box type="text"
                                                           ng-model="dataItem.priority"/>
                            </div>
                            <div class="form-inline group-margin">
                                <div class="form-group">
                                    <label>完成时间：</label> <input class="detials" kendo-masked-text-box
                                                                type="datetime-local"
                                                                ng-model="dataItem.finishDate"/>
                                </div>
                                <div class="form-group">
                                    <label>说明：</label> <input class="detials" kendo-masked-text-box type="text"
                                                              ng-model="dataItem.explanation"/>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
